﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary
{
    public class Evaluation
    {
        public string EvaluationID { get; set; }
        public string EvaluationContent { get; set; }
        public DateTime EvalutionTime { get; set; }
        public string OrderID { get; set; }//评价的订单ID，和Order连接，1对1
        public string UserID { get; set; }//评价者的用户ID，和User连接，多对1
        public Evaluation()
        {

        }
        public Evaluation(string id, string content, DateTime time, string orderid, string userid)
        {
            EvaluationID = id;
            EvaluationContent = content;
            EvalutionTime = time;
            OrderID = orderid;
            UserID = userid;
        }

    }
}
